<div id="content-header">
    <h1><?php echo __d('system','View Contact');?></h1>
</div>
<div id="breadcrumb">
    <a href="<?php echo $this->Html->url('/admin/')?>" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> <?php echo __d('system','Home');?></a>
    <a href="#"><?php echo __d('system','View Contact');?></a>
</div>
<div class="container-fluid">

<div class="row-fluid">
    <div class="span12">
        <?php
            echo $this->Form->create('Contact', array('id' => 'paginate','class'=>'form-horizontal', 'action' => 'edit', 'url' => $this->request->here(false), 'type' => 'file',
                'inputDefaults' => array('label' => false, 'format' => array('before', 'label', 'between', 'input', 'after', 'error'))));

            echo $this->Html->script('ckeditor/ckeditor');
            echo $this->element('toolbar');
        ?>                                    
        <div class="widget-box">
            <?php   
                $fieldsets['name'] = $this->Form->input('name', array(
                    'label' => array('text'=>__d('system','Name'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>', 
                    'disabled'=>'disabled',                                                           
                    'type' => 'text'));                
                $fieldsets['email'] = $this->Form->input('email', array(
                    'label' => array('text'=>__d('system','Email'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>', 
                    'disabled'=>'disabled',                                                           
                    'type' => 'text')); 
                $fieldsets['title'] = $this->Form->input('title', array(
                    'label' => array('text'=>__d('system','Title'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>',  
                    'disabled'=>'disabled',                                                          
                    'type' => 'text')); 
                $fieldsets['content'] = $this->Form->input('content', array(
                    'label' => array('text'=>__d('system','Content'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>',   
                    'disabled'=>'disabled',                                                         
                    'type' => 'text')); 
                $fieldsets['address'] = $this->Form->input('address', array(
                    'label' => array('text'=>__d('system','Address'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>',   
                    'disabled'=>'disabled',                                                         
                    'type' => 'text')); 
                $fieldsets['phone'] = $this->Form->input('phone', array(
                    'label' => array('text'=>__d('system','Phone'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>', 
                    'disabled'=>'disabled',                                                           
                    'type' => 'text'));                 
                $fieldsets['status'] = $this->Form->input('status', array(
                    'label' => array('text'=>__d('system','Status'),'class' => 'control-label'),
                    'between' => '<div class="controls">',
                    'div' => array('class' => 'control-group'),
                    'after' => '</div>', 
                    'disabled'=>'disabled',                                                           
                    'type' => 'checkbox'));                               
            ?>
            <?php           
                $layout = array(
                    array('name','email'),
                    array('title','content'),
                    array('address','phone'),
                    array('status')               
                );
                $layout = array(
                    array(
                        'Basic setting',
                        $layout,
                    )
                );
                echo $this->Layout->form($layout, $fieldsets);
            ?>        
        </div>
        <?php
            echo $this->Form->hidden('node_type_id');
            echo $this->Form->hidden('Paginate.task', array('id' => 'task', 'value' => ''));
            echo $this->Form->end();
        ?>                                    
    </div>    
</div>
<style type="text/css">
    .move-label{clear: both;margin-top: 2px !important;padding-left: 35px;}
    .lbl-move{float: left;padding-left: 73px;}
</style>
